﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Data;
using System.Windows.Documents;
using System.Windows.Input;
using System.Windows.Media;
using System.Windows.Media.Imaging;
using System.Windows.Shapes;

namespace POS
{
    /// <summary>
    /// WindowHelp.xaml 的交互逻辑
    /// </summary>
    public partial class WindowHelp : Window
    {
        public WindowHelp()
        {
            InitializeComponent();

            InitEvent();
        }

        private void InitEvent()
        {
            label1More.MouseDown += (ss, ee) =>
            {
                System.Diagnostics.Process.Start("http://www.fcnsoft.com/qa");
            };

            KeyDown += (ss, ee) =>
                {
                    if (ee.Key == Key.Escape)
                        this.Close();
                };
        }
    }
}
